package com.uuah.server.api.component.model;

import java.beans.ExceptionListener;

import com.uuah.api.INamedObject;
import com.uuah.api.lifecycle.ILifecycle;
import com.uuah.server.api.component.ILifecycleAdapterFactory;
import com.uuah.server.api.context.IUuahContextAware;

/**
 *
 * TODO comment ...
 *
 * <p>
 * update record:updator，update time，update content and version
 * </p>
 *
 * @author <a href="jonny_quan@hotmail.com">jonny</a>
 * @date 2009 2009-3-26 下午11:30:53
 * @version 1.0.0
 */
public interface IModel extends ILifecycle, IUuahContextAware, INamedObject {

	String getType();

	IEntryPointResolverSet getEntryPointResolverSet();

	void setEntryPointResolverSet(IEntryPointResolverSet entryPointResolver);

	ILifecycleAdapterFactory getLifecycleAdapterFactory();

	void setLifecycleAdapterFactory(
			ILifecycleAdapterFactory lifecycleAdapterFactory);

	ExceptionListener getExceptionListener();

	void setExceptionListener(ExceptionListener listener);
}
